Skip to content

Conversation

@dadlez
Copy link

@dadlez dadlez commented Jan 29, 2018

No description provided.

Copy link
Contributor

@Ami777 Ami777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bardzo fajne rozwiązanie!

//Twój kod
//Twój kod
// nie ma informacji o danych wejściowych
const textArray = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eleganckie rozwiązanie!

3: 'programem'
}

for (let i = 0, len = Object.keys(textArray).length; i < len; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mała podpowiedź: .forEach lub for..in wyglądają znacznie przejrzyściej.

@@ -1 +1,3 @@
//Twój kod
//Twój kod
const [ num1, num2 ] = process.argv.slice(2,4);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fajne wykorzystanie destrukturyzacji tablicy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants